import java.util.ArrayList;

/**
 * @ClassName tem
 * @description:
 * @Author 陈Ser
 * @Date 2021/9/6 11:09
 * @Version 1.0
 */
public class 验证码 {
        public static void main(String[] args) {
        char[] myCharArray = new char[62];
//        Annotation[] annotations = XXX.getClass().getAnnotations();
        for (char i = 'A'; i <= 'Z'; i++) {
            myCharArray[i - 'A'] = i;
        }
        for (char i = 'a'; i <= 'z'; i++) {
            myCharArray[i + 'Z' - 'A' - 'a' + 1] = i;
        }
        for (char i = '0'; i <= '9'; i++) {
            myCharArray[i + 'Z' - 'A' + 'z' - 'a' - '0' + 2] = i;
        }


        ArrayList<Integer> arrayList = new myRandom().nextInt(0, myCharArray.length, 8);

        for (int i : arrayList) {
            System.out.print(myCharArray[i]);
        }
        System.out.println();

    }
}
